package com.css.dzj.dzjap.modules.enterprise.dao;

import com.css.dzj.dzjap.modules.enterprise.entity.ApEnterpriseCreditEntity;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
public interface EnterpriseDao extends JpaRepository<ApEnterpriseCreditEntity,String>, JpaSpecificationExecutor<ApEnterpriseCreditEntity>, QuerydslPredicateExecutor<ApEnterpriseCreditEntity> {


    /*@Modifying
    @Transactional
    @Query(value = "delete from ApEnterpriseCreditEntity a where a.enterpriseCreditId in (:ids)")
    int de*/
}
